package fair.dao;

import fair.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author fair_wu
 * @version v1.0
 * @date 2021-01-27 上午 10:16
 */
public interface OrderSettingsDao {
    long findCountByOrderDate(Date orderDate);

    void editNumbersByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    void deletePastOrder(Map<String, String> map);

    OrderSetting findByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
